package com.sskj.quantization.bean;


import com.sskj.lib.util.TimeFormatUtil;

import java.util.Date;

public class QuanRecordBean {

 /**
  * con_no : 4846158070231
  * money : 200.000000
  * rate : 1.00
  * day : 3
  * state : 2
  * addtime : 1556759661
  * selltime : 1556850183
  */

 private String con_no;
 private String money;
 private String rate;
 private String day;
 private String state;
 private String addtime;
 private String selltime;
 private String id;
 private String profit;

 public String getProfit() {
  return profit;
 }

 public void setProfit(String profit) {
  this.profit = profit;
 }

 public String getId() {
  return id;
 }

 public void setId(String id) {
  this.id = id;
 }

 public String getCon_no() {
  return con_no;
 }

 public void setCon_no(String con_no) {
  this.con_no = con_no;
 }

 public String getMoney() {
  return money;
 }

 public void setMoney(String money) {
  this.money = money;
 }

 public String getRate() {
  return rate;
 }

 public void setRate(String rate) {
  this.rate = rate;
 }

 public String getDay() {
  return day;
 }

 public void setDay(String day) {
  this.day = day;
 }

 public String getState() {
  return state;
 }

 public void setState(String state) {
  this.state = state;
 }

 public String getAddtime() {
  return TimeFormatUtil.SF_FORMAT_E.format(new Date(Long.valueOf(addtime)*1000));
 }

 public void setAddtime(String addtime) {
  this.addtime = addtime;
 }

 public String getSelltime() {
  return TimeFormatUtil.SF_FORMAT_E.format(new Date(Long.valueOf(selltime)*1000));
 }

 public void setSelltime(String selltime) {
  this.selltime = selltime;
 }
}
